package cn.bgs.serviceuser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 问诊资料
 * </p>
 *
 * @author YiChen
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Information对象", description="问诊资料")
public class Information implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "问诊详情")
    @TableId(value = "information_id", type = IdType.AUTO)
    private Integer informationId;

    @ApiModelProperty(value = "类别（0植物，1动物）")
    private String category;

    @ApiModelProperty(value = "症状开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "症状描述")
    private String description;

    @ApiModelProperty(value = "症状图片")
    private String img;

    @ApiModelProperty(value = "主治医师id")
    private Integer doctorId;

    @ApiModelProperty(value = "下单用户")
    private Integer customerId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifiedTime;

    @ApiModelProperty(value = "逻辑删除ID (0未删除 ,1已删除)")
    @TableLogic
    private Integer deleteFlag;


}
